#include "poligon.cpp"
#include<iostream>
int main()
{
	Punct B=Punct(2,3);
	std::cout<<"B("<<B.getX()<<","<<B.getY()<<")"; 
	Punct A=Punct(1,3);
	if(A!=B)
	std::cout<<"\nnu sunt egale";
	Punct vA=Punct(2,3);
        Punct vB=Punct(2,5);
        Segment s=Segment(vA,vB);
        Segment AB(A,B);
        std::cout<<"\nLUNGIME SEGMENT "<<AB.calculLungime();
	int np;	
	std::cout<<"introduceti nr de puncte";
	std::cin>>np;
	Poligon P(np);
	if(P.isPoligon!=0)
           std::cout<<"este poligon";
	return 0;

}
